package com.dao;

import com.entity.Dissentingregistration;
import com.entity.DissentingregistrationExample;
import java.util.List;

import com.entity.Existmortgage;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface DissentingregistrationDao {
    long countByExample(DissentingregistrationExample example);

    int deleteByExample(DissentingregistrationExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Dissentingregistration record);

    int insertSelective(Dissentingregistration record);

    List<Dissentingregistration> selectByExample(DissentingregistrationExample example);

    Dissentingregistration selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Dissentingregistration record, @Param("example") DissentingregistrationExample example);

    int updateByExample(@Param("record") Dissentingregistration record, @Param("example") DissentingregistrationExample example);

    int updateByPrimaryKeySelective(Dissentingregistration record);

    int updateByPrimaryKey(Dissentingregistration record);

    Dissentingregistration findByServiceid(Integer serviceid);
}